<template>
	<view class="stars">
		<image class="star" v-for="n in light_num" src="../static/icons/star_light.png"></image>
		<image class="star" v-for="n in dark_num" src="../static/icons/star_dark.png"></image>
	</view>
</template>

<script>
	export default{
		props:["light_num","dark_num"]		
	}
</script>

<style lang="less">
	.star{
		height:20rpx;
		width:20rpx;
	}
</style>
